package com.cgnpc.scp.sri.capacitybuilding.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;

import java.util.Date;

@TableName("tbl_sri_capacitybuilding_capacityplanphase")
public class CapacityPlanPhase {
    private String id;

    private String folio;

    private String processName;

    private String procInstId;

    private Integer planStatus;

    private Integer orderIndex;

    private String infoId;

    private String phaseName;

    private Date startTime;

    private Date endTime;

    private String jdMb;

    private String stageProgress;

    private String stageResultFileId;

    private String stageResultFileName;

    private Date createTime;

    private String createUser;

    private String createUserName;

    private Date lastUpdateTime;

    private String lastUpdateUser;

    private String lastUpdateUserName;
//stageResultfilepath
    @TableField(exist = false)
    private String stageResultFilePath;

    public String getStageResultFilePath() {
        return stageResultFilePath;
    }

    public void setStageResultFilePath(String stageResultFilePath) {
        this.stageResultFilePath = stageResultFilePath;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getFolio() {
        return folio;
    }

    public void setFolio(String folio) {
        this.folio = folio == null ? null : folio.trim();
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName == null ? null : processName.trim();
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId == null ? null : procInstId.trim();
    }

    public Integer getPlanStatus() {
        return planStatus;
    }

    public void setPlanStatus(Integer planStatus) {
        this.planStatus = planStatus;
    }

    public Integer getOrderIndex() {
        return orderIndex;
    }

    public void setOrderIndex(Integer orderIndex) {
        this.orderIndex = orderIndex;
    }

    public String getInfoId() {
        return infoId;
    }

    public void setInfoId(String infoId) {
        this.infoId = infoId == null ? null : infoId.trim();
    }

    public String getPhaseName() {
        return phaseName;
    }

    public void setPhaseName(String phaseName) {
        this.phaseName = phaseName == null ? null : phaseName.trim();
    }

    public Date getStartTime() {
        return DateUtil.cloneNewDate(startTime);
    }

    public void setStartTime(Date startTime) {
        this.startTime = DateUtil.cloneNewDate(startTime);
    }

    public Date getEndTime() {
        return DateUtil.cloneNewDate(endTime);
    }

    public void setEndTime(Date endTime) {
        this.endTime = DateUtil.cloneNewDate(endTime);
    }

    public String getJdMb() {
        return jdMb;
    }

    public void setJdMb(String jdMb) {
        this.jdMb = jdMb == null ? null : jdMb.trim();
    }

    public String getStageProgress() {
        return stageProgress;
    }

    public void setStageProgress(String stageProgress) {
        this.stageProgress = stageProgress == null ? null : stageProgress.trim();
    }

    public String getStageResultFileId() {
        return stageResultFileId;
    }

    public void setStageResultFileId(String stageResultFileId) {
        this.stageResultFileId = stageResultFileId == null ? null : stageResultFileId.trim();
    }

    public String getStageResultFileName() {
        return stageResultFileName;
    }

    public void setStageResultFileName(String stageResultFileName) {
        this.stageResultFileName = stageResultFileName == null ? null : stageResultFileName.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getLastUpdateTime() {
        return DateUtil.cloneNewDate(lastUpdateTime);
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = DateUtil.cloneNewDate(lastUpdateTime);
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName == null ? null : lastUpdateUserName.trim();
    }
}